//导入路由
import router from "@/router/index.js";

//加载ElementPlus框架
import ElementPlus from 'element-plus'
//加载ElementPlus样式
import 'element-plus/dist/index.css'
//加载Vue框架
import { createApp } from 'vue'
//加载App.vue根组件
import App from './App.vue'

//定义一个app变量
const app = createApp(App)
//挂载ElementPlus
app.use(ElementPlus)
//使用路由
app.use(router)
//挂载根组件
app.mount('#app')